/*
 * @Description: 通用/常用class名 基础类名
 * @Author: Prm612
 * @Date: 2020-11-04 17:07:15
 * @LastEditTime: 2021-03-10 17:52:37
 * @LastEditors: xinsang
 */
/* 常用类名 */
.block {
  display: block;
}
.hide {
  display: none;
}
.inline-block {
  display: inline-block;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.hidden {
  overflow: hidden;
}
.pointer {
  cursor: pointer;
}
.underline {
  text-decoration: underline;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
/* 兼容ie */
.clearfix {
  clear: both;
}
.aft-clearfix:after {
  /*伪元素是行内元素 正常浏览器清除浮动方法*/
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.aft-clearfix {
  zoom: 1;
}

.mg-5 {
  margin: 5px;
}
.mt-5 {
  margin-top: 5px;
}
.mb-5 {
  margin-bottom: 5px;
}
.ml-5 {
  margin-left: 5px;
}
.mr-5 {
  margin-right: 5px;
}
.mgtb-5 {
  margin: 5px 0;
}
.mglr-5 {
  margin: 0 5px;
}
.mg-10 {
  margin: 10px;
}
.mt-10 {
  margin-top: 10px;
}
.mb-10 {
  margin-bottom: 10px;
}
.ml-10 {
  margin-left: 10px;
}
.mr-10 {
  margin-right: 10px;
}
.mgtb-10 {
  margin: 10px 0;
}
.mglr-10 {
  margin: 0 10px;
}
.mg-20 {
  margin: 20px;
}
.mgtb-20 {
  margin: 20px 0;
}
.mglr-20 {
  margin: 0 20px;
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.ml-20 {
  margin-left: 20px;
}
.mr-20 {
  margin-right: 20px;
}
.pd-10 {
  padding: 10px;
}
.pt-10 {
  padding-top: 10px;
}
.pb-10 {
  padding-bottom: 10px;
}
.pl-10 {
  padding-left: 10px;
}
.pr-10 {
  padding-right: 10px;
}
.pdtb-10 {
  padding: 10px 0;
}
.pdlr-10 {
  padding: 0 10px;
}
.pd-20 {
  padding: 20px;
}
.pt-20 {
  padding-top: 20px;
}
.pb-20 {
  padding-bottom: 20px;
}
.pl-20 {
  padding-left: 20px;
}
.pr-20 {
  padding-right: 20px;
}
.pdtb-20 {
  padding: 20px 0;
}
.pdlr-20 {
  padding: 0 20px;
}
/* 文字大小 */
.fz-12 {
  font-size: 12px;
}
.fz-14 {
  font-size: 14px;
}
.fz-16 {
  font-size: 16px;
}
.fz-18 {
  font-size: 18px;
}
.fz-20 {
  font-size: 20px;
}
/* 阴影 */
.box-shadow {
  box-shadow: 0px 0px 4px 2px rgba(231, 231, 231, 0.5);
}
// 字体加粗
.fw-400 {
  font-weight: 400;
}
.fw-600 {
  font-weight: 600;
}
/*文字颜色*/
// 基础颜色，主题色
.theme-use {
  color: #ff8147;
}
.theme-xcc {
  color: #FF0929
}
// 基础颜色，辅色
.divider-rly {
  color: #fc2628;
}
.theme-per {
  color: #468ef0;
}
// 主题文字颜色
.theme-text {
  color: #333;
}
// 辅助文字颜色
.theme-text-fu {
  color: #999;
}
// 次要内容文字颜色
.theme-text-su {
  color: #666;
}
// 超出一行隐藏
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
// 圆角
.bradius-4 {
  border-radius: 4px;
}
.bradius-10 {
  border-radius: 10px;
}
/* 弹性布局 */
.flex {
  // -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.flex-v {
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.flex-1 {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.flex-wrap {
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}
.flex-align-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.flex-pack-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.flex-pack-justify {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.flex-pack-end {
  justify-content: flex-end;
}
// 超出两行省略
.ellipsis2 {
  @include ellipsis($line: 2);
  // &:after {
  //   content: '...';
  //   position: absolute;
  //   bottom: 0;
  //   right: 0px;
  //   background: #fff;
  // }
}
// 超出三行省略
.ellipsis3 {
  @include ellipsis($line: 3);
  // &:after {
  //   content: '...';
  //   position: absolute;
  //   bottom: 0;
  //   right: 0;
  //   background: #fff;
  // }
}